Skip to content

feat(ui): restyle to the lime spec sheet design - #96

Merged
8liam merged 43 commits into
mainfrom
feat/ui-lime-spec
Nov 25, 2026
Merged

8liam merged 43 commits into
mainfrom
feat/ui-lime-spec

Conversation

@8liam

@8liam 8liam commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Restyles the app to the "one lime" spec-sheet design and adds component tests.

Design

  • Monotone greys with one accent, lime #a0ff69, for selected, primary and live. On light it is a fill with a 1px ink edge (#3a7310); text, strokes and focus use the ink.
  • Flat surfaces and 1px hairlines: shadows and decorative gradients are gone. Skeletons pulse in opacity only.
  • Big money figures in a serif with muted cents; floats, ids and counts in mono.
  • Spec-sheet versions of the value hero, value chart, float bar, storage crate (1,000-slot dot grid), transfer conveyor, trade-up funnel, tables, dialogs, tabs and badges.
  • New palette tokens control-border, accent-edge and primary-edge in every colour scheme, tested at 3:1 or more. Rosé Pine light accent darkened to reach 4.5:1.

Charts

  • The dashboard breakdown gets a colour-blind-safe categorical palette (Type, Location), CS2's own rarity colours (Rarity) and a Factory New to Battle-Scarred ramp (Wear). Tokens --chart-1..8 and --wear-1..5, tested for contrast on the card, neighbour separation and distance from the accent.
  • Legend rows and donut slices highlight each other on hover and focus.
  • Fixes duplicate "Other" rows (and an orphan row after switching tabs) when the data has its own "Other" rarity.

Tests

  • happy-dom and Testing Library harness, plus component tests across the app.

Checks

  • vp check, pnpm test (785 pass), pnpm build
  • site/: pnpm typecheck, pnpm build

Known gaps: chart colours are measured against the default palette's cards only, and the cases page odds chart axis labels still overlap at desktop width.

8liam added 30 commits November 23, 2026 20:37
Consent now comes from a context the app provides. The dialog also times out
a silent iframe into a Retry state and moves focus to Close after consent.
@8liam
8liam merged commit e394ca4 into main Nov 25, 2026
4 checks passed
@8liam
8liam deleted the feat/ui-lime-spec branch November 25, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant